<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<!--/* PC用户端公用footer */-->
<body>
<div class="copyright pc">
    <div class="copyright_shade clearfix">

        <div class="copyright_shade_top clearfix" style="display: flex;justify-content: space-between;">
            <div class="logo">
                <a href="/"><img th:src="@{'/static/logo.png'}"/></a>
            </div>
            <div class="center">
                <dl>
                    <dt>
                        <h4>巨桃游娱</h4>
                    </dt>
                    <dd>
                        <ul>
                            <li><a th:href="@{'/brand?type=about&m=1'}">公司介绍</a></li>
                            <li><a th:href="@{'/brand?type=about&m=2'}">联系我们</a></li>
                            <li><a th:href="@{'/brand?type=about&m=3'}">投诉建议</a></li>
                        </ul>
                    </dd>
                </dl>
<!--                <dl>-->
<!--                    <dt>-->
<!--                        <h4>商务合作</h4>-->
<!--                    </dt>-->
<!--                    <dd>-->
<!--                        <ul>-->
<!--                            <li><a th:href="@{'/brand?type=business&m=1'}">渠道合作</a></li>-->
<!--                            <li><a th:href="@{'/brand?type=business&m=2'}">艺人经纪</a></li>-->
<!--                            <li><a th:href="@{'/brand?type=business&m=3'}">招商合作</a></li>-->
<!--                        </ul>-->
<!--                    </dd>-->
<!--                </dl>-->
                <dl>
                    <dt>
                        <h4>权益保障</h4>
                    </dt>
                    <dd>
                        <ul>
                            <li><a th:href="@{'/brand?type=join&m=1'}">用户权益保障</a></li>
                            <li><a th:href="@{'/brand?type=join&m=2'}">内容安全保障</a></li>
                            <li><a th:href="@{'/brand?type=join&m=3'}">未成年人保护</a></li>
                        </ul>
                    </dd>
                </dl>
                <dl>
                    <dt>
                        <h4>法律信息</h4>
                    </dt>
                    <dd>
                        <ul>
                            <li><a th:href="@{'/brand?type=platform&m=1'}">服务协议</a></li>
                            <li><a th:href="@{'/brand?type=platform&m=2'}">隐私政策</a></li>
                            <li><a th:href="@{'/brand?type=platform&m=3'}">知识产权</a></li>
                        </ul>
                    </dd>
                </dl>
            </div>
            <div class="right">
                <a href="javascript:void(0)">
                    <img th:src="@{'/static/front/img/icon/weixin-icon.png'}"/></a>
                <a href="javascript:void(0)">
                    <img th:src="@{'/static/front/img/icon/weibo-icon.png'}"/></a>
            </div>
        </div>
        <div class="copyright_shade_bottom">
            <p>
                <a href="https://icp.chinaz.com/info?q=lua-lu.com">津ICP备2021006238号-1</a>
<!--                <a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010802027746">京公网安备 11010802027761号</a>-->
                <span>巨桃游娱（天津）信息科技有限公司 Copyright 2020-2022 巨桃游娱. AllRights Reserved.</span>
            </p>
        </div>

    </div>
</div>

<!--/* 公用js */-->
<script type="text/javascript" th:src="@{'/static/common/jquery.min.js'}"></script>

<script type="text/javascript" th:src="@{'/static/common.js?v=0.1'}"></script>
<!--/* 自定义常量 */-->
<script type="text/javascript" th:src="@{'/static/common/constant.js?v=0.1'}"></script>
<!--/* 自定义工具类 */-->
<script type="text/javascript" th:src="@{'/static/common/tools/tools.vue.js?v=0.1'}"></script>
<script type="text/javascript" th:src="@{'/static/common/tools/tools.extend.js?v=0.1'}"></script>
<script type="text/javascript" th:src="@{'/static/common/tools/tools.validate.js?v=0.1'}"></script>
<!--/* 操作公共类 */-->
<script type="text/javascript" th:src="@{'/static/front/js/operations.js'}"></script>

<!-- 我想拍 -->
<script type="text/javascript">
    function closeProup() {
        // 如果视频播放, 停止
        if (player) {
            player.pause();
        }
        $('#video').hide();
        $("#popup").hide(100);
        $('#production').hide();
        $('#telephone').hide();
    }

    var x = 0;
    var y = 0;
    $(function () {
        /**
         * 顶部菜单
         */
        $('#Navigation .Nav a').each(function () {
            if (window.location.href == this.href) {
                $(this).find('.NavItem').css('background', '#000');
            }
        })

        /**
         * 左侧菜单
         */
        $('.left_boxwrap .left_box_nav a').each(function () {
            if (window.location.href == this.href) {
                $(this).children().addClass('on');
                $(this).parent().parent().stop().slideDown();
            }
        })

        setInterval(function () {
            $('#iwant').css('background-position', (x) + 'px ' + (y) + 'px');
            x -= 264;
            if (x <= (8 * -264)) {
                x = -0;
                y -= 264;
            }
            if (y <= (7 * -264)) {
                y = -0;
            }
        }, 50);

        // 我想拍弹出框
        var bgHeight = $(document).height();
        $('.my-xp-modal-bg').css('height', bgHeight + 'px');
        $('#iwant').click(function () {
            $('.my-xp-modal-bg,.my-xp-modal').show();
        });
        $('.my-xp-modal-bg').click(function () {
            $('.my-xp-modal-bg,.my-xp-modal').hide();
        });

        /**
         * 我想拍提交
         */
        $('#i-want-submit-btn').click(function () {
            var data = $('form[name="iwantForm"]').serializeObject();
            if (!Pattern.NAME.test(data.personName)) {
                alert('姓名格式错误');
                return false;
            }

            if (!Pattern.CHINA_MOBILE.test(data.personPhone)) {
                alert('电话格式错误');
                return false;
            }

            if (!Pattern.WECHAT.test(data.personWechat)) {
                alert('微信格式错误');
                return false;
            }

            if ($.trim(data.personExpect).length == 0) {
                alert('请简单描述您的需求, 300字以内');
                return false;
            }

            $.ajax({
                type: 'post',
                url: '/workorder/add',
                data: data,
                dataType: 'json',
                beforeSend: function(xhr) {
                    xhr.setRequestHeader($("meta[name='_csrf_header']").attr("content"), $("meta[name='_csrf']").attr("content"));
                },
                success: function (result) {
                    if (result.status == Messages.HTTP_STATUS.SUCCESS) {
                        if (result.data == true) {
                            alert('提交成功, 稍候客服会与您沟通!')
                            $('.my-xp-modal-bg,.my-xp-modal').hide();
                            return true;
                        }
                    }
                    alert(Messages.ERROR);
                },
                error: function () {
                    alert(Messages.ERROR);
                }
            })

        })
    })
</script>

</body>
</html>